Skip to content

fix(fleet): register queue reprioritize in domain inventory - #14568

Closed
dezren39 wants to merge 1 commit into
mainfrom
oc-code-02/14556-queue-reprioritize
Closed

dezren39 wants to merge 1 commit into
mainfrom
oc-code-02/14556-queue-reprioritize

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Closes #14556

Problem

fleet-smoke on main failed the pmo_operator_docs contract test published_queue_reference_matches_registered_help_inventory (newest run 45456758078, job 138668173608). The published queue reference chapter documents fleet queue reprioritize (#14100, PR #14203), but the registry queue-domain subcommand inventory in pkgs/fleet/crates/fleet-registry/src/lib.rs omitted it, so the test reported unregistered heading reprioritize.

Fix

The verb is implemented (client: crates/fleet-queue/src/client.rs and client/commands_lifecycle.rs; broker: turso_queue/lifecycle.rs verb_reprioritize, POST /reprioritize), so register it rather than re-scope the chapter:

  • add reprioritize to the queue domain subcommands inventory in crates/fleet-registry/src/lib.rs;
  • drop the chapter's now-false note that the verb is absent from the inventory.

Verification

cargo test -p fleet-registry: all suites green, including both tests in tests/pmo_operator_docs.rs.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T19:46:28Z",
    "session_id": "ses_e5df0fef305ffeWX4wFfyn3Ca2",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/.local/share/opencode/tmp/oc-code-02-14556",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/.local/share/opencode/tmp/oc-code-02-14556",
      "repo": "developing-today/code",
      "branch": "oc-code-02/14556-queue-reprioritize",
      "sha": "7571b01f2f2de525ba337d23eeddacc83b0ebbae"
    },
    "auth_subject": "code-h",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

The queue reference chapter documents fleet queue reprioritize (#14100,
PR #14203) but the registry queue subcommand inventory omitted it, so the
published-queue-reference contract test failed on main (fleet-smoke).
The verb is implemented in the client and broker, so register it rather
than re-scope the chapter.
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 18 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 419fc909-4065-47ec-b53a-1bb172ebde6e
Commits

Reviewing files that changed from the base of the PR and between 28b3d0f and 7571b01.

Files selected for processing: 2

  • pkgs/fleet/book/reference/queue-lifecycle.md
  • pkgs/fleet/crates/fleet-registry/src/lib.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39

Copy link
Copy Markdown
Member Author

Closing as superseded: the identical fix already merged via #14569 (697fb3b, 19:50Z — registers reprioritize in the queue domain inventory plus the book-note update; closed #14552, same root cause, verified present on origin/main). Nothing left to merge here; keeping one live fix per breakage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[main-ci] fleet-smoke failing on main — queue book drift: undocumented reprioritize heading (runs 45449902298…45456758078)

1 participant